package bit.pja.wolfkill.entity;


import javax.persistence.*;

//@Entity
@Table(name = "room_user")
public class RoomUser {


    @EmbeddedId
    private RoomUserKey roomUserKey;

    @Column(name = "state")
    private Integer state;


    public RoomUserKey getRoomUserKey() {
        return roomUserKey;
    }

    public void setRoomUserKey(RoomUserKey roomUserKey) {
        this.roomUserKey = roomUserKey;
    }

    public Integer getState() {
        return state;
    }

    public RoomUser setState(Integer state) {
        this.state = state;
        return this;
    }
}
